<template>
  <div class="app-container">
    <el-card style="padding-top: 20px">
      <div class="setmeal_header">
        <div class="header_left">
          <div class="header_img">
            <img src="@/assets/common/营业执照.jpg" alt="" class="logo" />
          </div>
          <div class="header_title">
            <div>宁波北仑大碶文诺机械厂</div>
            <p>我的套餐：<span>基础会员</span></p>
            <p>我的套餐：<span>基础会员</span></p>
          </div>
        </div>
        <div class="header_right">
          <span class="line"></span>
          <div class="right_item">
            <p>职位并发数</p>
            <div><span>20 </span>条</div>
          </div>
          <div class="right_item">
            <p>简历剩余点数</p>
            <div><span>1000 </span>点</div>
          </div>
          <div class="right_item">
            <p>剩余职聊次数</p>
            <div><span>5000 </span>次</div>
          </div>
          <div class="right_item">
            <p>免费刷新次数</p>
            <div><span>20 </span>条</div>
          </div>
          <div class="right_item">
            <p>我的积分</p>
            <div><span>1085 </span>点</div>
          </div>
        </div>
      </div>
    </el-card>
    <el-card style="margin-top: 20px; padding-top: 20px">
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="我的特权" name="1">
          <div class="privilege_wrapper">
            <div class="privilege_line">
              <div class="privilege_list">
                <div class="list_img">
                  <img src="@/assets/common/免费刷新.png" alt="" />
                </div>
                <p>免费刷新职位次数</p>
                <span>3次/天</span>
              </div>
              <div class="privilege_list">
                <div class="list_img">
                  <img src="@/assets/common/免费刷新.png" alt="" />
                </div>
                <p>免费刷新职位次数</p>
                <span>3次/天</span>
              </div>
              <div class="privilege_list">
                <div class="list_img">
                  <img src="@/assets/common/免费刷新.png" alt="" />
                </div>
                <p>免费刷新职位次数</p>
                <span>3次/天</span>
              </div>
              <div class="privilege_list">
                <div class="list_img">
                  <img src="@/assets/common/免费刷新.png" alt="" />
                </div>
                <p>免费刷新职位次数</p>
                <span>3次/天</span>
              </div>
            </div>
            <div class="privilege_line">
              <div class="privilege_list">
                <div class="list_img">
                  <img src="@/assets/common/免费刷新.png" alt="" />
                </div>
                <p>免费刷新职位次数</p>
                <span>3次/天</span>
              </div>
              <div class="privilege_list">
                <div class="list_img">
                  <img src="@/assets/common/免费刷新.png" alt="" />
                </div>
                <p>免费刷新职位次数</p>
                <span>3次/天</span>
              </div>
              <div class="privilege_list">
                <div class="list_img">
                  <img src="@/assets/common/免费刷新.png" alt="" />
                </div>
                <p>免费刷新职位次数</p>
                <span>3次/天</span>
              </div>
            </div>
          </div>
        </el-tab-pane>
        <el-tab-pane label="套餐使用明细" name="2">
          <el-table :data="list" style="width: 100%">
            <el-table-column prop="prop" label="操作类型" width="width">
              <template slot-scope="scope">
                {{ scope.row.content }}
              </template>
            </el-table-column>
            <el-table-column prop="prop" label="时间" width="width">
              <template slot-scope="scope">
                {{ scope.row.addtime }}
              </template>
            </el-table-column>
          </el-table>
          <el-row :gutter="10" style="margin-top: 20px;" type="flex" justify="end">
            <el-pagination layout="prev, pager, next" :total="50">
            </el-pagination>
          </el-row>
        </el-tab-pane>
      </el-tabs>
    </el-card>
  </div>
</template>

<script>
export default {
  data() {
    return {
      activeName: "1",
      list: [{ content: "开通【基础会员】", addtime: 1730335111 }],
    };
  },
};
</script>

<style lang="scss" scoped>
.setmeal_header {
  display: flex;
  padding: 10px 0;
  .header_left {
    width: 488px;
    display: flex;
    .header_img {
      width: 100px;
      margin-top: 30px;
      .logo {
        width: 80px;
        height: 80px;
      }
    }
    .header_title {
      flex: 5;
      div {
        font-size: 18px;
        color: #333;
        margin: 20px 0;
      }
      p {
        margin-bottom: 20px;
        font-size: 15px;
        color: #adadad;
      }
    }
  }
  .header_right {
    flex: 1;
    display: flex;
    .line {
      height: 90px;
      background: #f3f3f3;
      width: 1px;
      display: inline-block;
      margin-top: 36px;
      margin-right: 60px;
    }
    .right_item {
      text-align: center;
      flex: 1;
      p {
        font-size: 15px;
        color: #666;
        margin: 30px 0 23px 0;
      }
      div {
        color: #ff704f;
        font-size: 15px;
        letter-spacing: -2px;
        span {
          font-size: 24px;
        }
      }
    }
  }
}
.privilege_wrapper {
  text-align: center;
  margin-bottom: 30px;
  .privilege_line {
    display: flex;
    .privilege_list {
      width: 365.25px;
      height: 200px;
      background: #fff7ec;
      margin: 0 30px 30px 0;
      transition: all 0.2s linear;
      .list_img {
        margin-top: 40px;
      }
      span {
        color: #ff704f;
        font-size: 14px;
      }
    }
  }
}
</style>
